//首页的所有后台请求接口
import {
	request
} from '@/utils/request.js';

const API_PREFIX = "/user/goods/log";

export function queryWaitDeliver(userId) {
	return request({
		url: `${API_PREFIX}/wait/deliver/${userId}`,
		method: 'GET'
	})
}

export function queryWaitDeliverCount(userId) {
	return request({
		url: `${API_PREFIX}/wait/deliver/count/${userId}`,
		method: 'GET'
	})
}

export function queryWaitReceive(userId) {
	return request({
		url: `${API_PREFIX}/wait/receive/${userId}`,
		method: 'GET'
	})
}

export function queryWaitReceiveCount(userId) {
	return request({
		url: `${API_PREFIX}/wait/receive/count/${userId}`,
		method: 'GET'
	})
}

export function queryWaitComment(userId) {
	return request({
		url: `${API_PREFIX}/wait/comment/${userId}`,
		method: 'GET'
	})
}

export function queryWaitCommentCount(userId) {
	return request({
		url: `${API_PREFIX}/wait/comment/count/${userId}`,
		method: 'GET'
	})
}